package com.mp.mqtt.config;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Auther adidasshe@mp.cn
 * <p>
 * MyBatis-plus配置类 (mapper及service的位置)
 */
@Configuration
@ComponentScan({"com.mp.ipm2020.mbg.util"}) //扫描service
@MapperScan({"com.mp.ipm2020.mbg.mapper", "com.mp.ipm2020.mbg.dao"}) //扫描mapper
public class MyBatisConfig {

}